﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Leikjavefurinn.Context;

namespace Leikjavefurinn.Repo
{
    public interface ITicTacToeRepo
    {
        IEnumerable<GameStatus> AllGames();
        IEnumerable<TicTacToeGame> AllTickTacToe();
        int CreateGame(String name, Users x);
        TicTacToeGame GetGame(int id);
        Users GetUser(string userName);
        void AddPointToScoreByID(Guid id);
        void AddPointToScoreByName(string userName);
        void AddPointToRate(string userName);
        void DetractPointFromRate(string userName);
        void Save();
    }
}
